﻿using Common.Attributes;
using Domain.Entities.Identity;
using Domain.Entities.Loggers;
using System.Text.Json.Serialization;

namespace Application.Features.Monitors.DTOs;

/// <summary>
/// 角色输出模型
/// </summary>
[Map(typeof(Logger))]
public class LoggerOutput
{
    public  long Id { get; set; }
    public  long? UserId { get; set; }
    public  DateTimeOffset? Timestamp { get; set; }
    public  long? TimestampLong { get; set; }
    public  string? Level { get; set; }
    public  string? MessageTemplate { get; set; }
    public  string? Message { get; set; }
    public  string? Exception { get; set; }
    public  string? Properties { get; set; }
}
